/*
 * @Author: Wangjun
 * @Date: 2023-08-17 17:21:13
 * @LastEditTime: 2023-12-02 09:53:38
 * @LastEditors: wangjun haodreams@163.com
 * @Description:
 * @FilePath: \xr_node_calc\noderdb\setup.go
 * hnxr
 */
package noderdb

import (
	"gitee.com/haodreams/godriver/opdb"
	"gitee.com/haodreams/op_node/thirdparty"
)

type Itemer interface {
	GetMemItem(category string, id int, name string) *thirdparty.Item //新增加一个内存计算点
	GetOPValue(name string, readOnly bool) *opdb.Real
}

var dataitem Itemer

func SetItemer(iter Itemer) {
	dataitem = iter
}
